package br.ufrn.cerescaico.sepe.email;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

/**
 * Universidade Estadual da Paraíba
 * Cidade: Monteiro - Paraíba
 *
 * @author  Ana Emília Victor Barbosa, anaemiliabarbosa@gmail.com <br>
 * @version 1.0 <br>
 *
 * Copyright (C) 2008
 */
public class Mail {
	private String to;
	
	public String getTo() {
		return this.to;
	}

	public void setTo(String to) {
		this.to = to;
	}
}

class SimpleAuth extends Authenticator {
	public String username = null;
	public String password = null;


	public SimpleAuth(String user, String pwd) {
	username = user;
	password = pwd;
	}

	protected PasswordAuthentication getPasswordAuthentication() {
	return new PasswordAuthentication (username,password);
	}
} 